Skip to content

Fix window function state reset across batches#17813

Merged
JackieTien97 merged 2 commits into
apache:masterfrom
Caideyipi:fix-table-window-rank-resume
Jun 5, 2026
Merged

Fix window function state reset across batches#17813
JackieTien97 merged 2 commits into
apache:masterfrom
Caideyipi:fix-table-window-rank-resume

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

Summary

  • Initialize window functions once per PartitionExecutor instead of resetting them on every transform call.
  • Preserve rank/window function state when a single partition is produced across multiple output batches or time slices.

Tests

  • ./mvnw.cmd '-Ddevelocity.off=true' -q -pl iotdb-core/calc-commons '-DskipTests' compile

@JackieTien97
JackieTien97 merged commit 63dfac8 into apache:master Jun 5, 2026
41 checks passed
MileaRobertStefan pushed a commit to MileaRobertStefan/iotdb that referenced this pull request Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants